<div>
    <div id="container1" style=""></div>
    <div id="containero" style=""></div>

<script>
    $(function () {
        Highcharts.setOptions({
            colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4']
        });
        $('#containero').highcharts({
            chart: {
                type: 'line',
//            width:document.body.offsetWidth*0.6,
                width:$('#team2 .col-lg-9 ').width(),
                reflow: Boolean,
            },
            title: {text: '个人积分变动情况' },
            subtitle: {text: ''},
            xAxis: {
                categories: {$jsondate},
        labels: {rotation: -45,step:5}
    },
        yAxis: {
            title: {
                text: '积分数量'
            }
        },
        credits: {
            enabled: false
        },
        tooltip: {
            pointFormat: '获得积分: <b>{point.y} </b>分',shared: true,crosshairs: [{width:1}]
        },
        series: [{
            name: '{$gradetype}',
            data: {$jsonarr},
    }]
    });
// end Line Chart  and  pie chart start

    $('#container1').highcharts({
        chart: {
            plotBackgroundColor: null,
            plotBorderWidth: null,
            plotShadow: false,
//            width:document.body.offsetWidth*0.6,
            width:$('#team2 .col-lg-9 ').width(),
            reflow: Boolean
        },
        title: {
            text: '积分来源统计表'
        },
        tooltip: {
            pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>'
        },
        plotOptions: {
            pie: {
                allowPointSelect: true,
                cursor: 'pointer',
                dataLabels: {
                    enabled: true,
                    format: '<b>{point.name}</b>: {point.percentage:.1f} %',
                    style: {
                        color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black'
                    }
                }
            }
        },
        series: [{  
            type: 'pie',
            name: '获得积分',
            data: {$jsonPie}
        }]
    });
    });
</script>
</div>